package com.blb.goods_service.entity;

public class JsonResult {

    private Long id;
    private Object data;

    public JsonResult(Long id, Object data) {
        this.id = id;
        this.data = data;
    }

    public JsonResult() {
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "JsonResult{" +
                "id=" + id +
                ", data=" + data +
                '}';
    }
}
